.\"
.\" Copyright (C) 2000  Ross Combs (ross@bnetd.org)
.\" 
.\" This is free documentation; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License as
.\" published by the Free Software Foundation; either version 2 of
.\" the License, or (at your option) any later version.
.\"
.\" The GNU General Public License's references to "object code"
.\" and "executables" are to be interpreted as the output of any
.\" document formatting or typesetting system, including
.\" intermediate and printed output.
.\"
.\" This manual is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public
.\" License along with this manual; if not, write to the Free
.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
.\" USA.
.\"
.TH BNI2TGA 1 "6 November, 2000" "BNETD" "BNETD User's Manual"
.SH NAME
bni2tga \- convert a Battle.net icon file to a Targa file
.SH SYNOPSIS
.B bni2tga
[\fIoptions\fP]
[--]
[\fIbnifile\fP [\fItgafile\fP]]
.SH DESCRIPTION
.B bni2tga
is a simple program which will convert the icons in a Battle.net icon file
into a TGA file with the icons arranged vertically.
.LP
The specific variant of TGA that is used will depend on the input file, but
typically it will be a 28 pixel wide, true-color, 24bit, run-length encoded
image with no attributes.
.LP
If
.I bnifile
is not specified or is specified as "-", the standard input will be used.
If
.I tgafile
is not specified or is specified as "-", the standard output will be used.
.SH OPTIONS
.TP
.B \-h --help --usage
Print usage information and exit.
.TP
.B \-v --version
Print its version number and exit.
.TP
.B --
Signal end of options.  Any further arguments will be treated as filenames
even if they begin with a "-".
.SH NOTES
The current version is available with the bnetd distribution at:
.LP
.RS
.I http://www.bnetd.org/
.RE
.SH BUGS
The purpose of some of the fields in the BNI format are not known.  Only
true-color formats are currently supported.
.SH "SEE ALSO"
.BR bnetd (1),
.BR bnibuild (1),
.BR bniextract (1),
.BR bnilist (1),
.BR tgainfo (1)
.SH AUTHORS
.TP
Marco Ziech (\fImmz@gmx.net\fP) and
Ross Combs (\fIross@bnetd.org\fP)
